﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Torneo.Entidades.Jugador>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
   
    <% using (Html.BeginForm("CreateConfirmationJugador", "Torneo", FormMethod.Post,
   new { enctype = "multipart/form-data" }))
       {%>
    <%: Html.ValidationSummary(true) %>
    <table width="95%" style="padding:25px; ">
        <tr>
            <td>
                <%: Html.LabelFor(model => model.Nombre) %>
            </td>
            <td>
                <%: Html.TextBoxFor(model => model.Nombre) %>
                <%: Html.ValidationMessageFor(model => model.Nombre) %>
            </td>
        </tr>
        <tr>
            <td>
                <%: Html.LabelFor(model => model.Apellido) %>
            </td>
            <td>
                <%: Html.TextBoxFor(model => model.Apellido) %>
                <%: Html.ValidationMessageFor(model => model.Apellido) %>
            </td>
        </tr>
        <tr>
            <td>
                <%: Html.LabelFor(model => model.Edad) %>
            </td>
            <td>
                <%: Html.TextBoxFor(model => model.Edad) %>
                <%: Html.ValidationMessageFor(model => model.Edad) %>
            </td>
        </tr>
        <tr>
            <td>
                <%: Html.Label("Foto") %>
            </td>
            <td>
                <input type="file" id="fileUpload" name="fileUpload" size="23" />
            </td>
        </tr>
         <tr>
            <td>
                
            </td>
            <td>
                &nbsp;
            </td>
        </tr>

        <tr>
            <td>

             <a href="<%: Url.Action("ListarJugadores", "Torneo") %>">
                    <img src="../../Content/images/flecha_volver.jpg" title="Volver" width="16px" height="16px" alt="Volver"></a>                
                
            </td>
            <td align="right">
                <input type="image" src="../../Content/images/save.png" value="" alt="Submit">
                
            </td>
        </tr>       
    </table>
    <% } %>    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
